package com.zjhn.ds.service;

import com.zjhn.ds.common.BizResult;
import com.zjhn.ds.domain.dto.app.AppStationMonitorDto;
import com.zjhn.ds.domain.dto.app.CurrentTaskDto;
import com.zjhn.ds.domain.dto.app.QueueTaskDto;
import com.zjhn.ds.param.AppStationMonitorParam;
import com.zjhn.ds.param.FinishTaskParam;
import com.zjhn.ds.param.ReportParam;
import com.zjhn.ds.param.SwipeCardParam;

import java.util.List;

public interface AppStationMonitorService {

    // app机台监控页面数据
    BizResult<List<AppStationMonitorDto>> stationMonitor(AppStationMonitorParam param);

    // app获取工位当前刷卡任务
    BizResult<CurrentTaskDto> currentTask(String stationId);

    // app获取工位排队任务
    BizResult<List<QueueTaskDto>> queueTask(String stationId);

    // app确认报工
    BizResult<?> report(ReportParam param);

    // app刷卡
    BizResult<?> swipeCard(SwipeCardParam param);

    // app派工任务完成
    BizResult<?> finishTask(FinishTaskParam param);
}
